package com.busibuilding.administrate.area.dao;

import java.util.List;

import com.busibuilding.administrate.area.ICityCommand;
import com.busibuilding.administrate.area.vo.CityCVO;
import com.busibuilding.common.exceptions.DAOException;
import com.busibuilding.common.vo.ICommonVO;
/**
 * Class Name: CityDAO.java
 * Description: 
 * @author Lin Yanjun
 * @version 1.0
 * @since 1.0
 * Date: 2010-2-25
 */
public interface CityDAO extends ICityCommand{
	int insert(ICommonVO vo) throws DAOException;
	int update(ICommonVO vo) throws DAOException;
	int delete(ICommonVO vo) throws DAOException;
	CityCVO getCity(ICommonVO vo) throws DAOException;
	List<CityCVO> searchCityByCondition(ICommonVO vo) throws DAOException;
	List<CityCVO> searchCityByCondition(ICommonVO vo, int skipResults, int maxResults) throws DAOException;
	
	int getRecordsCount(ICommonVO vo)  throws DAOException;
}
